﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainSite.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Garlic.BasicInfo.WebForm1" %>
<%@ Register src="~/UserControls/ServiceRouteTreePop.ascx" tagname="ServiceRouteTreePop" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <asp:UpdatePanel ID="UpdatePanel2" runat="server">
           <ContentTemplate>
        <div id="add_dialog"> 
                <div class="operat_box">
                      <table class="form_tb" >
                          <tr>
                              <td>
                                  服务航线： 
                              </td>
                              <td>
                                 <uc2:ServiceRouteTreePop ID="ServiceRouteTreePop1" runat="server" />
                                   <div style="display:none">
                                        <asp:Button ID="btnFlt_schdulPop" runat="server" Text="Button" 
                                      onclick="btnFlt_schdulPop_Click" />
                                   </div>
                                   <script type="text/javascript">
                                       function onFlt_schdulclickPop() {
                                           alert('1');
                                           document.getElementById("<%=btnFlt_schdulPop.ClientID %>").click();
                                           alert('2');
                                       }
                                   </script>
                              </td>
                              <td>
                                  航班班期：</td>
                              <td>
                                  <asp:DropDownList ID="ddlFlt_schdulPop" runat="server">
                                 </asp:DropDownList>
                                  <asp:RequiredFieldValidator ID="RequiredFieldValidatorPop" runat="server"  ControlToValidate="ddlFlt_schdulPop"
                                   ErrorMessage="*" ForeColor="Red" ValidationGroup="btnsubmitPop" ></asp:RequiredFieldValidator>
                              </td>
                         </tr>
                         <tr>
                             <td>
                                 英文船名：</td>
                             <td>
                                 <asp:DropDownList ID="ddlVesselsENnameAndCodePop" runat="server" 
                                     AutoPostBack="True" Width="200px" 
                                     onselectedindexchanged="ddlVesselsENnameAndCodePop_SelectedIndexChanged">
                                 </asp:DropDownList>
                             </td>
                             <td>
                                 中文船名：</td>
                             <td>
                                 <asp:TextBox ID="txt_VSL_CNnamePop" ReadOnly="true" runat="server"></asp:TextBox>
                             </td>
                         </tr>
                          <tr>
                              <td>
                                  进口航次(初始)：</td>
                              <td>
                                  <asp:TextBox ID="txtlnr_ivoyagePop" runat="server"></asp:TextBox>
                              </td>
                              <td>
                                  出口航次(初始)：</td>
                              <td>
                                  <asp:TextBox ID="txtlnr_evoyagePop" runat="server"></asp:TextBox>
                              </td>
                          </tr>
                         <tr>
                             <td>
                                 进口箱量</td>
                             <td>
                                 <asp:TextBox ID="txtlnr_iamountPop" runat="server"></asp:TextBox>
                                 <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"  
                                    ControlToValidate="txtlnr_iamountPop" ErrorMessage="*" ForeColor="Red"  ValidationGroup="btnsubmitPop"
                                    ValidationExpression="[0-9]{1,20}"></asp:RegularExpressionValidator>
                             </td>
                             <td>
                                 出口箱量：</td>
                             <td>
                                 <asp:TextBox ID="txtlnr_eamountPop" runat="server"></asp:TextBox>
                                 <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server"  
                                    ControlToValidate="txtlnr_eamountPop" ErrorMessage="*" ForeColor="Red"  ValidationGroup="btnsubmitPop"
                                    ValidationExpression="[0-9]{1,20}"></asp:RegularExpressionValidator>
                             </td>
                         </tr>
                     
                          <tr>
                              <td>
                                  
                                  进口步长：</td>
                              <td>
                                  <asp:TextBox ID="txtlnr_istepPop" runat="server"></asp:TextBox>
                                  <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                      ControlToValidate="txtlnr_istepPop" ErrorMessage="*" ForeColor="Red" 
                                      ValidationExpression="[0-9]{1,20}" ValidationGroup="btnsubmitPop"></asp:RegularExpressionValidator>
                              </td>
                              <td>
                                  出口步长：</td>
                              <td>
                                  <asp:TextBox ID="txtlnr_estepPop" runat="server"></asp:TextBox>
                                  <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" 
                                      ControlToValidate="txtlnr_estepPop" ErrorMessage="*" ForeColor="Red" 
                                      ValidationExpression="[0-9]{1,20}" ValidationGroup="btnsubmitPop"></asp:RegularExpressionValidator>
                              </td>
                          </tr>
                     
                          <tr>
                              <td>
                                  &nbsp;</td>
                              <td>
                                  &nbsp;</td>
                              <td>
                                  &nbsp;</td>
                              <td>
                                  <asp:Button ID="btnQueryPop" runat="server" Text=" 查 询 " 
                                      ValidationGroup="btnsubmitPop" />
                                  &nbsp;<asp:Button ID="btnAddPop" runat="server" Text=" 添 加 " 
                                      ValidationGroup="btnsubmitPop" />
                              </td>
                          </tr>
                     </table>
                </div>
             </div>
  </ContentTemplate>
           </asp:UpdatePanel>
</asp:Content>
